﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LightPublisherCms.Data.Entities
{
    /// <summary>
    /// Author of the publication
    /// </summary>
    public class Author
    {
        /// <summary>
        /// Gets or sets identity of the author.
        /// </summary>
        public int AuthorId { get; private set; }

        /// <summary>
        /// Gets or sets title (mr., ms., dr., ...) of the author.
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// Gets or sets first name of the author.
        /// </summary>
        public string FirstName { get; set; }

        /// <summary>
        /// Gets or sets middle name of the author.
        /// </summary>
        public string MiddleName { get; set; }

        /// <summary>
        /// Gets or sets last name (surname) of the author.
        /// </summary>
        public string LastName { get; set; }

        /// <summary>
        /// Gets or sets biography of the author.
        /// </summary>
        public string Biography { get; set; }

        /// <summary>
        /// Gets or sets e-mail of the author.
        /// </summary>
        public string Email { get; set; }

        /// <summary>
        /// Gets the name of the author in the form: mr. LastName MiddleName FirstName
        /// </summary>
        /// <returns>Full name of the author.</returns>
        public string GetFullName()
        {
            throw new NotImplementedException();
        }

        /// <summary>
        /// Gets the name of the author in the form: Surname N.
        /// </summary>
        /// <returns>Short name of the author.</returns>
        public string GetShortName()
        {
            throw new NotImplementedException();
        }
    }
}
